package com.example.demo.dao;

import com.example.demo.bean.Teacher;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface TeacherDao extends JpaRepository<Teacher,Long> {

    List<Teacher> findByName(String name);


}
